package com.group.www.pojo.entityextends;

import com.group.www.pojo.BrandInfo;
import com.group.www.pojo.GoodsInfo;
import com.group.www.pojo.OrderInfo;

public class OrderInfoExtend extends OrderInfo {

    private BrandInfo brandInfo;

    private GoodsInfo goodsInfo;

    public BrandInfo getBrandInfo() {
        return brandInfo;
    }

    public void setBrandInfo(BrandInfo brandInfo) {
        this.brandInfo = brandInfo;
    }

    public GoodsInfo getGoodsInfo() {
        return goodsInfo;
    }

    public void setGoodsInfo(GoodsInfo goodsInfo) {
        this.goodsInfo = goodsInfo;
    }

    public OrderInfoExtend() {
    }

    public OrderInfoExtend(Integer orderid, Integer brandid, Integer userid, String consignee, String mobile, String address, String ordersn, Integer osid, BrandInfo brandInfo, GoodsInfo goodsInfo) {
        super(orderid, brandid, userid, consignee, mobile, address, ordersn, osid);
        this.brandInfo = brandInfo;
        this.goodsInfo = goodsInfo;
    }

    @Override
    public String toString() {
        return "OrderInfoExtend{" +
                "brandInfo=" + brandInfo +
                ", goodsInfo=" + goodsInfo +
                '}';
    }
}
